Pipes with date | string | number in angular 9